//
//  FiltrateSectionTitleView.h
//  TerritoryShopkeeper
//
//  Created by xiaowu on 2017/12/18.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, FiltrateSectionState) {
    FiltrateSectionStateForOpen,        // 展开状态
    FiltrateSectionStateForRetract,     // 收起状态
    FiltrateSectionStateForNone
};

@interface FiltrateSectionTitleView : UIView

@property (nonatomic, weak) IBOutlet UIView *view;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *subTitleLabel;

@property (nonatomic, assign) FiltrateSectionState state;
- (void)setValueWithTitle:(NSString *)title;

@property (nonatomic, copy) void (^block)(void);
@end
